package io.wdb.modules.generator.generator.service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.entity.BookgridInfoEntity;
import io.wdb.modules.generator.generator.entity.statistics.BookGridAvailableRes;
import io.wdb.modules.generator.generator.entity.web.BookShelfOperation;
import io.wdb.modules.generator.generator.entity.web.WebResponse;

/**
 * 书格表
 * 
 * @author wdb
 * @email admin@wdb007.com
 * @date 2017-11-30 15:15:37
 */
public interface BookgridInfoService {
	
	BookgridInfoEntity queryObject(String bookgridCode);
	
	List<BookgridInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(BookgridInfoEntity bookgridInfo);
	
	void update(BookgridInfoEntity bookgridInfo);
	
	void delete(String bookgridCode);
	
	void deleteBatch(String[] bookgridCodes);

	WebResponse updateAvailable(BookShelfOperation bookShelfOperation);

	List<BookGridAvailableRes> getGridAvailableDetail(BookShelfOperation bookShelfOperation);
}
